package mapper;

import java.sql.Date;
import java.util.List;

import Entity.Event;

public interface Eventmapper {
	//添加事件
	public boolean CreatEvent(Event event);
	//删除事件
		public void delEvent(String eid);
	//按日期查询事件函数
	public List<Event> eventQueryByDate(Date date);
	//查询所有event
	public List<Event> getAllEvent();
	//分页查询所有event
	public List<Event> getAllEventBypage(int page);
}
